package com.fqgj.sentry.policy.domain.rule;


import java.io.Serializable;
import java.util.List;

/**
 * Created by liupengpeng on 2017/8/4.
 */
public class RuleAddAndUpdateInfo implements Serializable {
    private Long policySetsId;
    private Long executorId;
    private Long policyId;
    /**
     * 规则名称
     */
    private String name;
    /**
     * 激活状态
     */
    private Integer activeStatus;
    /**
     * 规则类型
     */
    private Integer ruleType;

    /**
     * 规则
     */
    private String rule;

    private List<RuleColumnInfo> columnInfoList;


    public Integer getRuleType() {
        return ruleType;
    }

    public RuleAddAndUpdateInfo setRuleType(Integer ruleType) {
        this.ruleType = ruleType;
        return this;
    }

    public Long getPolicySetsId() {
        return policySetsId;
    }

    public RuleAddAndUpdateInfo setPolicySetsId(Long policySetsId) {
        this.policySetsId = policySetsId;
        return this;
    }

    public Long getExecutorId() {
        return executorId;
    }

    public RuleAddAndUpdateInfo setExecutorId(Long executorId) {
        this.executorId = executorId;
        return this;
    }

    public Long getPolicyId() {
        return policyId;
    }

    public RuleAddAndUpdateInfo setPolicyId(Long policyId) {
        this.policyId = policyId;
        return this;
    }

    public List<RuleColumnInfo> getColumnInfoList() {
        return columnInfoList;
    }

    public RuleAddAndUpdateInfo setColumnInfoList(List<RuleColumnInfo> columnInfoList) {
        this.columnInfoList = columnInfoList;
        return this;
    }

    public String getName() {
        return name;
    }

    public RuleAddAndUpdateInfo setName(String name) {
        this.name = name;
        return this;
    }

    public Integer getActiveStatus() {
        return activeStatus;
    }

    public RuleAddAndUpdateInfo setActiveStatus(Integer activeStatus) {
        this.activeStatus = activeStatus;
        return this;
    }

    public String getRule() {
        return rule;
    }

    public RuleAddAndUpdateInfo setRule(String rule) {
        this.rule = rule;
        return this;
    }
}
